package com.jkdz.spyke.flexUI.helpers {
	
	public class FileDropListener {
		
		private var onFileDropped:Function;
		private var onSetFileOver:Function;
		private var onSetFileNear:Function;

		public function FileDropListener(onFileDropped:Function, onSetFileOver:Function, onSetFileNear:Function) {
			this.onFileDropped = onFileDropped;
			this.onSetFileNear = onSetFileNear;
			this.onSetFileOver = onSetFileOver;
		}
		
		public function fileDropped(reference:FileDropReference):void {
			onFileDropped(reference);
		}
		
		public function setFileOver(over:Boolean):void {
			onSetFileOver(over);
		}
		
		public function setFileNear(near:Boolean):void {
			onSetFileNear(near);
		}
	}
}